'use strict'

const Controller = require('egg').Controller;
class filmController extends Controller {
    async playing() {
        const res = await this.ctx.service.filmService.playing();
        this.ctx.body = res;
    } 
    async coming() {
        const res = await this.ctx.service.filmService.coming();
        this.ctx.body = res;
    } 
    async detail() {
        const res = await this.ctx.service.filmService.detail();
        this.ctx.body = res;
    }
}
module.exports  = filmController;
